3.2.72 \(\int \frac {1}{(a+b x^2) \sqrt {4-d x^4}} \, dx\) [172]

Optimal. Leaf size=40 \[ \frac {\Pi \left (-\frac {2 b}{a \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} x}{\sqrt {2}}\right )\right |-1\right )}{\sqrt {2} a \sqrt [4]{d}} \]

[Out]

1/2*EllipticPi(1/2*d^(1/4)*x*2^(1/2),-2*b/a/d^(1/2),I)/a/d^(1/4)*2^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {1232} \begin {gather*} \frac {\Pi \left (-\frac {2 b}{a \sqrt {d}};\left .\text {ArcSin}\left (\frac {\sqrt [4]{d} x}{\sqrt {2}}\right )\right |-1\right )}{\sqrt {2} a \sqrt [4]{d}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((a + b*x^2)*Sqrt[4 - d*x^4]),x]

[Out]

EllipticPi[(-2*b)/(a*Sqrt[d]), ArcSin[(d^(1/4)*x)/Sqrt[2]], -1]/(Sqrt[2]*a*d^(1/4))

Rule 1232

Int[1/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (c_.)*(x_)^4]), x_Symbol] :> With[{q = Rt[-c/a, 4]}, Simp[(1/(d*Sqrt[
a]*q))*EllipticPi[-e/(d*q^2), ArcSin[q*x], -1], x]] /; FreeQ[{a, c, d, e}, x] && NegQ[c/a] && GtQ[a, 0]

Rubi steps

\begin {align*} \int \frac {1}{\left (a+b x^2\right ) \sqrt {4-d x^4}} \, dx &=\frac {\Pi \left (-\frac {2 b}{a \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} x}{\sqrt {2}}\right )\right |-1\right )}{\sqrt {2} a \sqrt [4]{d}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 10.09, size = 59, normalized size = 1.48 \begin {gather*} -\frac {i \Pi \left (-\frac {2 b}{a \sqrt {d}};\left .i \sinh ^{-1}\left (\frac {\sqrt {-\sqrt {d}} x}{\sqrt {2}}\right )\right |-1\right )}{\sqrt {2} a \sqrt {-\sqrt {d}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/((a + b*x^2)*Sqrt[4 - d*x^4]),x]

[Out]

((-I)*EllipticPi[(-2*b)/(a*Sqrt[d]), I*ArcSinh[(Sqrt[-Sqrt[d]]*x)/Sqrt[2]], -1])/(Sqrt[2]*a*Sqrt[-Sqrt[d]])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(77\) vs. \(2(32)=64\).
time = 0.12, size = 78, normalized size = 1.95

method result size
default \(\frac {\sqrt {2}\, \sqrt {1-\frac {x^{2} \sqrt {d}}{2}}\, \sqrt {1+\frac {x^{2} \sqrt {d}}{2}}\, \EllipticPi \left (\frac {d^{\frac {1}{4}} x \sqrt {2}}{2}, -\frac {2 b}{a \sqrt {d}}, \frac {\sqrt {-\frac {\sqrt {d}}{2}}\, \sqrt {2}}{d^{\frac {1}{4}}}\right )}{a \,d^{\frac {1}{4}} \sqrt {-d \,x^{4}+4}}\) \(78\)
elliptic \(\frac {\sqrt {2}\, \sqrt {1-\frac {x^{2} \sqrt {d}}{2}}\, \sqrt {1+\frac {x^{2} \sqrt {d}}{2}}\, \EllipticPi \left (\frac {d^{\frac {1}{4}} x \sqrt {2}}{2}, -\frac {2 b}{a \sqrt {d}}, \frac {\sqrt {-\frac {\sqrt {d}}{2}}\, \sqrt {2}}{d^{\frac {1}{4}}}\right )}{a \,d^{\frac {1}{4}} \sqrt {-d \,x^{4}+4}}\) \(78\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b*x^2+a)/(-d*x^4+4)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/a*2^(1/2)/d^(1/4)*(1-1/2*x^2*d^(1/2))^(1/2)*(1+1/2*x^2*d^(1/2))^(1/2)/(-d*x^4+4)^(1/2)*EllipticPi(1/2*d^(1/4
)*x*2^(1/2),-2*b/a/d^(1/2),(-1/2*d^(1/2))^(1/2)*2^(1/2)/d^(1/4))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x^2+a)/(-d*x^4+4)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(sqrt(-d*x^4 + 4)*(b*x^2 + a)), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x^2+a)/(-d*x^4+4)^(1/2),x, algorithm="fricas")

[Out]

integral(-sqrt(-d*x^4 + 4)/(b*d*x^6 + a*d*x^4 - 4*b*x^2 - 4*a), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a + b x^{2}\right ) \sqrt {- d x^{4} + 4}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x**2+a)/(-d*x**4+4)**(1/2),x)

[Out]

Integral(1/((a + b*x**2)*sqrt(-d*x**4 + 4)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x^2+a)/(-d*x^4+4)^(1/2),x, algorithm="giac")

[Out]

integrate(1/(sqrt(-d*x^4 + 4)*(b*x^2 + a)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\left (b\,x^2+a\right )\,\sqrt {4-d\,x^4}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((a + b*x^2)*(4 - d*x^4)^(1/2)),x)

[Out]

int(1/((a + b*x^2)*(4 - d*x^4)^(1/2)), x)

________________________________________________________________________________________